package com.codejoys.monitor.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration //让spring知道这是一个配置类
@MapperScan(basePackages={"com.codejoys.monitor.mapper", "com.codejoys.monitor.dao"}) //接口在这个包下，映射文件在resources对应目录下
public class DbConfig {
}
